summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-10-08 04:19:41 +0200
committerLiam <byteslice@airmail.cc>2022-10-08 04:19:41 +0200
commitddf64e56af2307bd505f2ad375c31d76072183ff (patch)
tree3ba1d2b9bea4ce1a1832ec6bdb3f428c3646d4eb
parentMerge pull request #9016 from liamwhite/drunken-schedule (diff)
downloadyuzu-ddf64e56af2307bd505f2ad375c31d76072183ff.tar
yuzu-ddf64e56af2307bd505f2ad375c31d76072183ff.tar.gz
yuzu-ddf64e56af2307bd505f2ad375c31d76072183ff.tar.bz2
yuzu-ddf64e56af2307bd505f2ad375c31d76072183ff.tar.lz
yuzu-ddf64e56af2307bd505f2ad375c31d76072183ff.tar.xz
yuzu-ddf64e56af2307bd505f2ad375c31d76072183ff.tar.zst
yuzu-ddf64e56af2307bd505f2ad375c31d76072183ff.zip
-rw-r--r--src/core/hle/service/friend/friend.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp
index e0db787fc..fad532115 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -26,7 +26,7 @@ public:
{10101, &IFriendService::GetFriendList, "GetFriendList"},
{10102, nullptr, "UpdateFriendInfo"},
{10110, nullptr, "GetFriendProfileImage"},
- {10120, nullptr, "IsFriendListCacheAvailable"},
+ {10120, &IFriendService::CheckFriendListAvailability, "CheckFriendListAvailability"},
{10121, nullptr, "EnsureFriendListAvailable"},
{10200, nullptr, "SendFriendRequestForApplication"},
{10211, nullptr, "AddFacedFriendRequestForApplication"},
@@ -194,6 +194,17 @@ private:
// TODO(ogniK): Return a buffer of u64s which are the "NetworkServiceAccountId"
}
+ void CheckFriendListAvailability(Kernel::HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto uuid{rp.PopRaw<Common::UUID>()};
+
+ LOG_WARNING(Service_Friend, "(STUBBED) called, uuid=0x{}", uuid.RawString());
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(true);
+ }
+
KernelHelpers::ServiceContext service_context;
Kernel::KEvent* completion_event;